//定义全部接口返回数据都拥有ts类型
export interface ResponseData {
  code: number
  msg: string
}
export interface ResponseBaseData {
  code: number
  msg: string
  data: string
}

export interface userInfoReponseData extends ResponseData {
  data: {
    userId: number
    nickname: string
    avatar: string
    roles: []
    perms: []
  }
}
